package com.itheima.service;

import com.itheima.client.NacosClientFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class FeignService {

    @Autowired
    NacosClientFeign nacosClientFeign;

    public String feign(String name) {
        return nacosClientFeign.getStock(name);
    }
}
